package com.jx.mst.user.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;

/**
 * (UsUser)表实体类
 *
 * @author makejava
 * @since 2023-12-23 04:16:45
 */
@SuppressWarnings("serial")
@Mapper
public class UsUser extends Model<UsUser> {
//主键
    private Long id;
//账号
    private String userName;
//电话
    private String userPhone;
//密码
    private String userPassword;
//账号名
    private String userNickname;
//头像
    private String userIcon;
//创建时间
    private Date userCreateTime;
//修改时间
    private Date userUpdateTime;
//等级(1-普通，2-會員，3-管理員)
    private Integer userLevel;
//状态（0-禁用，1-正常）
    private Integer userState;
//年龄
    private Integer userAge;
//性别（0-女，1-男）
    private Integer userSex;
//身份正图片
    private String userIdentityImage;
//生日
    private Date userBirthday;
//职业
    private String userCareer;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }

    public String getUserIcon() {
        return userIcon;
    }

    public void setUserIcon(String userIcon) {
        this.userIcon = userIcon;
    }

    public Date getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(Date userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    public Date getUserUpdateTime() {
        return userUpdateTime;
    }

    public void setUserUpdateTime(Date userUpdateTime) {
        this.userUpdateTime = userUpdateTime;
    }

    public Integer getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    public Integer getUserState() {
        return userState;
    }

    public void setUserState(Integer userState) {
        this.userState = userState;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public Integer getUserSex() {
        return userSex;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public String getUserIdentityImage() {
        return userIdentityImage;
    }

    public void setUserIdentityImage(String userIdentityImage) {
        this.userIdentityImage = userIdentityImage;
    }

    public Date getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(Date userBirthday) {
        this.userBirthday = userBirthday;
    }

    public String getUserCareer() {
        return userCareer;
    }

    public void setUserCareer(String userCareer) {
        this.userCareer = userCareer;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

